package cn.shangqizhenshuai.extend.entity;

import java.util.List;

/*
生成的实体类
 */
public class ResultrefEntity {
    public String id;
    public String javaname;
    public List<Property> property;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getJavaname() {
        return javaname;
    }

    public void setJavaname(String javaname) {
        this.javaname = javaname;
    }

    public List<Property> getProperty() {
        return property;
    }

    public void setProperty(List<Property> property) {
        this.property = property;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        ResultrefEntity that = (ResultrefEntity) o;

        if (id != null ? !id.equals(that.id) : that.id != null) return false;
        if (javaname != null ? !javaname.equals(that.javaname) : that.javaname != null) return false;
        return property != null ? property.equals(that.property) : that.property == null;
    }

    @Override
    public int hashCode() {
        int result = id != null ? id.hashCode() : 0;
        result = 31 * result + (javaname != null ? javaname.hashCode() : 0);
        result = 31 * result + (property != null ? property.hashCode() : 0);
        return result;
    }
}
